package com.cms.mapper;

import com.cms.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface StudentMapper {
    Integer save(Student student);

    List<Student> list();

    Integer delete(Integer sid);

    List<Student> searchByName(String keywords);

    List<Student> searchByPhone(String keywords);

    Integer update(Student student);
}
